package cn.itsource.service;

import cn.itsource.domain.Role;
import cn.itsource.query.RoleQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IRoleService {
    void add(Role roleType);

    void update(Role roleType);

    void del(Long id);

    void delList(List<Long> ids);

    Role get(Long id);
    PageInfo<Role> pageQuery(RoleQuery query);

    List<Role> getAll();
}
